<template>
  <el-form-item :label="labelStr">
    {{ isNaN(value) ? value : value / 100 }} 元
  </el-form-item>
</template>

<script lang="ts" setup>
const props = withDefaults(defineProps<{
  value: number,
  labelStr: string
}>(), {
  value: 0,
  labelStr: '市场价'
})
</script>

<style scoped lang="scss"></style>
